NexusPi Git Node
native/PinMap.h HEAD (592c826d) Text, 1.02 KB
T8b949e// Copyright (C) 2026, Chad Attermann
T8b949e//
T8b949e// Public declarations for native_pinmap. The implementation lives in
T8b949e// PinMap.cpp; the matching pin_* extern globals are declared in Boards.h
T8b949e// under the MCU_NATIVE branch.
Tff7b72#Tff7b72ifndef NATIVE_PINMAP_H
Tff7b72#Tff7b72define NATIVE_PINMAP_H
Te6edf3namespace Te6edf3native_pinmap Tb4b4b4{
Tffa657void Td2a8ffapplyTb4b4b4(Tb4b4b4)Tb4b4b4;
Tffa657void Td2a8ffbind_linux_gpiosTb4b4b4(Tb4b4b4)Tb4b4b4;
Tffa657void Td2a8ffrelease_linux_gpiosTb4b4b4(Tb4b4b4)Tb4b4b4;
Tffa657void Td2a8ffseed_eeprom_if_unprovisionedTb4b4b4(Tb4b4b4)Tb4b4b4;
T8b949e// Drive each pin in g_config.radio_enable_pins to its active level (HIGH
T8b949e// by default; LOW for entries that were tagged ":low" in rnoded.conf).
T8b949e// Called from startRadio() just before LoRa->begin() so external rails
T8b949e// (LDOs, TCXO supply, PA bias) are stable before the SX126x probes them.
Tffa657void Td2a8ffassert_radio_enable_pinsTb4b4b4(Tb4b4b4)Tb4b4b4;
T8b949e// Drive each pin in g_config.radio_enable_pins to its inactive level.
T8b949e// Called from startRadio()'s failure path and from stopRadio() after
T8b949e// LoRa->end() so SPI cleanup finishes while rails are still up.
Tffa657void Td2a8ffdeassert_radio_enable_pinsTb4b4b4(Tb4b4b4)Tb4b4b4;
Tb4b4b4} T8b949e// namespace native_pinmap
Tff7b72#Tff7b72endif T8b949e// NATIVE_PINMAP_H
Served by rngit 1.5.2 - Generated in 0.02s